$OpenBSD: patch-lib_Device_USB_pm,v 1.1.1.1 2010/01/10 21:41:55 jasper Exp $
--- lib/Device/USB.pm.orig	Tue Jan  5 00:15:49 2010
+++ lib/Device/USB.pm	Tue Jan  5 00:16:07 2010
@@ -10,7 +10,7 @@ use Inline (
         ($ENV{LIBUSB_LIBDIR}
             ? ( LIBS => "-L\"$ENV{LIBUSB_LIBDIR}\" " .
                         ($^O eq 'MSWin32' ? ' -llibusb -L\"$ENV{WINDDK}\\lib\\crt\\i386\" -lmsvcrt ' : '-lusb') )
-            : ( LIBS => '-lusb', )
+            : ( LIBS => '-L${LOCALBASE}/lib -lusb', )
         ),
         ($ENV{LIBUSB_INCDIR} ? ( INC => "-I\"$ENV{LIBUSB_INCDIR}\"" ) : () ),
         NAME => 'Device::USB',
